package com.hz.airline.dao;

import com.hz.airline.entity.SpecialTicket;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by kevin on 2020/2/2 17:06
 */
public interface SpecialTicketDao extends CrudRepository<SpecialTicket, Integer> {

    List<SpecialTicket> findBySpecialticketidLessThan(int cont);

    List<SpecialTicket> findAllByCityAndEndcity(String city, String endcity);
}
